.slider-wrapper {
  background-color: #FEF9F0;
  padding: 10px;
  margin-bottom: 10px;
  height: 300px;
  border-radius: 5px;
}

.nivoSlider {
  height: 100%;
  position: relative;
  background: white url(loading.gif) no-repeat 50% 50%;
  overflow: visible;
  img {
    border-radius: 2px; 
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
    height: 100%;
  }
  a {
    border: 0;
    display: block;
  }
}

.nivo-controlNav {
  text-align: left;
  padding: 0;
  position: relative;
  z-index: 10;
  a {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: url(bullets.png) no-repeat;
    text-indent: -9999px;
    border: 0;
    margin: 0 2px;
    &.active {
      background-position: 0 100%;
    }
  }
}

.nivo-directionNav a {
  display: block;
  width: 30px;
  height: 30px;
  background: url(arrows.png) no-repeat;
  text-indent: -9999px;
  border: 0;
  top: auto;
  bottom: -36px;
  z-index: 11;
  &:hover {
    background-color: #eee;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
  }
}

a {
  &.nivo-nextNav {
    background-position: 160% 50%;
    right: 0px;
  }
  &.nivo-prevNav {
    background-position: -60% 50%;
    left: 0px;
  }
}

.nivo-caption {
  font-family: Helvetica, Arial, sans-serif;
  a {
    color: #fff;
    border-bottom: 1px dotted #fff;
    &:hover {
      color: #fff;
    }
  }
}

.nivo-controlNav.nivo-thumbs-enabled {
  width: 80%;
  a {
    width: auto;
    height: auto;
    background: none;
    margin-bottom: 5px;
  }
  img {
    display: block;
    width: 120px;
    height: auto;
  }
}

.nivo-main-image {
  display: block !important;
  position: relative !important;
  width: 100% !important;
}

.nivoSlider a.nivo-imageLink {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  z-index: 6;
  display: none;
}

.nivo-slice {
  display: block;
  position: absolute;
  z-index: 5;
  height: 100%;
  top: 0;
}

.nivo-box {
  display: block;
  position: absolute;
  z-index: 5;
  overflow: hidden;
  img {
    display: block;
  }
}

.nivo-caption {
  position: absolute;
  left: 0px;
  bottom: 0px;
  background: #000;
  color: #fff;
  width: 100%;
  z-index: 8;
  padding: 5px 10px;
  opacity: 0.8;
  overflow: hidden;
  display: none;
  -moz-opacity: 0.8;
  filter: alpha(opacity = 8);
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */
  box-sizing: border-box;
  /* Opera/IE 8+ */
  p {
    padding: 5px;
    margin: 0;
  }
  a {
    display: inline !important;
  }
}

.nivo-html-caption {
  display: none;
}

.nivo-directionNav a {
  position: absolute;
  top: 45%;
  z-index: 9;
  cursor: pointer;
}

.nivo-prevNav {
  left: 0px;
}

.nivo-nextNav {
  right: 0px;
}

.nivo-controlNav {
  position: relative;
  bottom: 25px;
  text-align: center;
  a {
    cursor: pointer;
    &.active {
      font-weight: bold;
    }
  }
}